import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/components/Home'
import About from '@/components/About'

Vue.use(VueRouter)

export default new VueRouter({
  mode:'history',
  routes:[
    {path:'/home',component:Home},
    {path:'/about',component:About}
  ]
})

